package com.atguigu.bigdata.scala.mytest.chapter05

object Test3 {
    def main(args: Array[String]): Unit = {
      def test1(x:Int)={
        def test2(y:Int)={
          println("test1执行X+Y:="+x+y)
        }
        println("test1执行X:="+x)
        test2 _
      }

      val a= test1(2)
      a(2)



    }
}
